import { Entity, Column, PrimaryGeneratedColumn,PrimaryColumn } from 'typeorm';

@Entity('sys_role_menu',{
  comment:"系统角色菜单关系表"
})
export class SysRoleWithMenuEntity {
    @PrimaryColumn({ type: 'varchar', name: 'roleid', comment: '角色ID' })
    public roleid: string;
  
    @PrimaryColumn({ type: 'varchar', name: 'menuid', comment: '菜单ID' })
    public menuid: string;
}
